how to make a tic tac toe game with python